<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- <input type="button" value="这是一个按钮" onclick="alert('你好')">  行内式-->
 
</body>
<!-- <script>
    alert('hhhhhhhhh')
</script>  内嵌式-->
<!-- <script src="./d1.js"></script> -->
 <script>
    // var name = '张三'
    // console.log(name)
    // let num = 66
    // console.log(num)
    // let a = 'hello'
    // console.log(a.length)
    // console.log(a + "你好")
    // let b = 10
    // console.log(10 + 20)
    // console.log(10 + "20")
    let a = true
    console.log(typeof(a))
    a = a + 1
    console.log('a的类型：'+typeof(a) + "，a的值：" + a)
 </script>
</html>